home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 1 / The 640 Meg Shareware Studio CD-ROM Volume I (Data Express)(1992).ISO / wc3x / v32tut.thd < prev    next >
Text File  |  1992-02-03  |  31KB  |  742 lines

  1. Thread captured on Compuserve's IBMNET Communication forum (IBMCOM) collected 
  2. and edited by Ray Tackett, 76416,276
  3.  
  4.  
  5. #: 90421 S7/Modems/Comm Hdw [C]
  6.     12-Jan-92  22:14:06
  7. Sb: #need v.32/bis tutorial
  8. Fm: John Kelley 73467,450
  9. To: All
  10.    
  11. I hope I can prevail upon the scholars of vee-dot lore to clear up some
  12. questions I have about v.32/bis and v.42/bis.  I *think* I know the names that
  13. belong to the various vee-dots, but I want to know how some of it is supposed
  14. to work, in a v.32 or v.32bis connection, i.e.:
  15.    
  16. 1.   Can a v.42 EC connection be made without v.42bis compression, in a case
  17. where the answer modem starts out expecting compression?  In other words, when
  18. an answering modem insists on supplying v.42bis data compression with its v.42
  19. error-correction, can you (as the caller) successfully accept the EC without
  20. being forced to take the compression?  (Am I making sense here?)
  21.    
  22. 2.   (Same question, substitute "MNP4" for v.42 and "MNP5" for v.42bis.)
  23.    
  24. I'm asking because I notice that I connect very successfully to CIS using v.32
  25. and v.42, and I have the impression from past messages that CIS is not
  26. providing compression.  On my system, with a limited port speed, that's just
  27. fine.  When I call other remote systems I get compression, even if I don't
  28. want it.  So, under the v.rules, should I have the right to refuse it, without
  29. giving up EC?  --- Thanks for any enlightenment!  -- John K.
  30.    
  31.    
  32. #: 90535 S7/Modems/Comm Hdw [C]
  33.     13-Jan-92  16:15:27
  34. Sb: #90421-#need v.32/bis tutorial
  35. Fm: earle robinson [ibmeur] 76004,1762
  36. To: John Kelley 73467,450 (X)
  37.    
  38. Here's a brief glossary of the v dot ccitt specs that are of interest:
  39.    
  40.         V.32    Full duplex 9600 bps, with fallback to 4800 bps as required
  41.         V.32bis Idem, plus 14.4k, 12k and 7.2k bps speeds.  Better negotiation
  42.         V.42    Error control
  43.         V.42bis Compression.  Must run under v.42
  44.    
  45. Then, there are the mnp 'classes':
  46.    
  47.         Mnp 1   Half duplex error control.  Seldom used or seen
  48.         Mnp 2   Full duplex error control
  49.         Mnp 3   Idem, plus packetizing of data. Strips start/stop bits.
  50.         Mnp 4   Idem, plus improvements to reduce overhead
  51.         Mnp 5   Compression under mnp
  52.    
  53. When the two modems negotiate, the answering modem will first negotiate the
  54. highest possible common speed, then v.42 (assuming it has v.42), or go to mnp.
  55. Then, if the answering modem has v.42bis compression it will ask the other
  56. modem if it is capable (or willing), and will enable compression if so.
  57.    
  58. The CompuServe v.32 nodes do have compression, v.42bis (not mnp5, by the way,
  59. though they do have mnp4), but given the network limitations, the port speed of
  60. the nodes is locked at 9600 bps.  So, compression offers no benefits.  Both
  61. ends must have port speeds >9600 bps for compression to be of any value.
  62.    -er
  63.    
  64.  
  65. #: 90668 S7/Modems/Comm Hdw [C]
  66.     14-Jan-92  02:39:44
  67. Sb: #90421-need v.32/bis tutorial
  68. Fm: Toby Nixon 70271,404
  69. To: John Kelley 73467,450 (X)
  70.    
  71. Yes, you can most definitely establish an error control connection without
  72. data compression, even if both modems actually do support data compression.
  73. Most modems provide a separate command/parameter to enable/disable compression
  74. independently of enabling/disabling error control.  If both modems have error
  75. control enabled but only one has data compression enabled, they will connect
  76. with error control and without compression.
  77.    
  78.        -- Toby
  79.  
  80. #: 90618 S7/Modems/Comm Hdw [C]
  81.     13-Jan-92  23:22:05
  82. Sb: #90535-#need v.32/bis tutorial
  83. Fm: Tom Brandt 70650,1742
  84. To: earle robinson [ibmeur] 76004,1762 (X)
  85.    
  86. Earle,
  87.    
  88. Could you answer a dumb question:
  89.    
  90. What is idem (as in V.32bis)?
  91.    
  92. Tom.
  93.    
  94.  
  95. #: 90686 S7/Modems/Comm Hdw [C]
  96.     14-Jan-92  08:00:13
  97. Sb: #90535-#need v.32/bis tutorial
  98. Fm: Ken Levy 72331,3403
  99. To: earle robinson [ibmeur] 76004,1762 (X)
  100.    
  101. I assume when you say that the port speed on the CIS side is locked at 9600
  102. bps, that you mean the interface between the modem/packet net gateway (in
  103. CIS's computer room) and CIS's computers?  I was under the impression that the
  104. speed of all links (whether or not you use V.42bis) was at the base modulation
  105. rate (9.6k w/v.32 or 14.4k w/v.32bis) and transmission/signaling over the
  106. phone lines only occurs at that rate.  Although the compression may encode
  107. more bits into a smaller set of tokens, the stream goes through the pipe at
  108. the same speed (9.6 or 14.4).  The gateways between the hosts and the modems
  109. on each end must be set up to go faster to get the uncompressed data down to
  110. the modem where it can be compressed/decompressed to go over the line at the
  111. standard (9.6 or 14.4) speed.  While CIS's modems will talk at the higher
  112. effective rates (i.e., support v.42bis), their host mainframes are limited to
  113. 9.6k rate between the mainframe and their modem.  Is it correct to assume that
  114. the 9.6 locking is not a function of the packet network (which would only be
  115. sending data through the pipe between the modems at 9.6k, regardless of
  116. compression) but rather of the host hardware/software interface?
  117.    
  118. ME          MODEM       Line, Packet net, Line     MODEM     CISmainframe
  119. A---38k-------B------------------9.6K----------------C---9.6k------D
  120.    
  121. In other words, A-B above goes at 38k (or as fast as modem will accept data),
  122. modem compresses the data and will push it onto the line at B at 9.6K, CIS's
  123. modem will decompress at C, but their host D will only accept at 9.6K, thus
  124. the limit on throughput?
  125.    
  126. #: 90669 S7/Modems/Comm Hdw [C]
  127.     14-Jan-92  02:39:49
  128. Sb: #90618-#need v.32/bis tutorial
  129. Fm: Toby Nixon 70271,404
  130. To: Tom Brandt 70650,1742 (X)
  131.    
  132. "idem" is, I think, one of those arcane Latin abbreviations used in footnotes
  133. which means "same as the above with the following exceptions", or something
  134. like that.  I think Earle meant for it to say "V.32bis is the same as V.32,
  135. plus the following".
  136.    
  137.        -- Toby
  138.    
  139.  
  140. #: 90752 S7/Modems/Comm Hdw [C]
  141.     14-Jan-92  16:07:35
  142. Sb: #90669-#need v.32/bis tutorial
  143. Fm: earle robinson [ibmeur] 76004,1762
  144. To: Toby Nixon 70271,404 (X)
  145.    
  146. Arcane, not at all.  Look in your dictionary and the meaning is there, without
  147. reference to it being arcane.  Toby, I didn't realize you were so
  148. anti-intellectual!   -er
  149.    
  150.  
  151.  
  152. #: 90890 S7/Modems/Comm Hdw [C]
  153.     15-Jan-92  09:46:02
  154. Sb: #90669-need v.32/bis tutorial
  155. Fm: Tom Brandt 70650,1742
  156. To: Toby Nixon 70271,404 (X)
  157.    
  158. Ancient Latin technospeak always crosses me up <G>.
  159.  
  160. #: 90753 S7/Modems/Comm Hdw [C]
  161.     14-Jan-92  16:07:45
  162. Sb: #90686-#need v.32/bis tutorial
  163. Fm: earle robinson [ibmeur] 76004,1762
  164. To: Ken Levy 72331,3403 (X)
  165.    
  166. Your understanding is correct.  I'd only add that using 38.4k bps between the
  167. computer and modem is a waste of resources, and often not tolerated by many
  168. systems.  I'll also add that a uart with larger i/o buffers than the standard
  169. 82450 usually mounted, i.e. the ns 16550a uart, is a very good idea, too.
  170.    
  171. The locking at the link speed, 9600 bps, is simply because the network
  172. backbone can't handle higher speeds without penalizing overall throughput.  I
  173. imagine that with ds3 becoming more widespread, and the highly touted frame
  174. relay, we may see the v.32 nodes with higher port speeds eventually.   -er
  175.    
  176.  
  177.  
  178. #: 90842 S7/Modems/Comm Hdw [C]
  179.     15-Jan-92  00:45:25
  180. Sb: #90752-#need v.32/bis tutorial
  181. Fm: Toby Nixon 70271,404
  182. To: earle robinson [ibmeur] 76004,1762 (X)
  183.    
  184. Oh, I'm not "anti-intellectual". I am, however, strongly in favor of trying to
  185. explain things to people in the clearest and simplest way possible, without
  186. using jargon.  While you may disagree, in my book words like "idem" are
  187. academic jargon.  They certainly are not in the vocabulary of the typical
  188. American.  Heck, _I_ had to guess what it meant (but it was pretty obvious to
  189. me from the context and because I know what I would have written instead).
  190.    
  191.        -- Toby
  192.    
  193.  
  194.  
  195. #: 91099 S7/Modems/Comm Hdw [C]
  196.     16-Jan-92  18:12:10
  197. Sb: #90753-#need v.32/bis tutorial
  198. Fm: Scott Compton 71650,2371
  199. To: earle robinson [ibmeur] 76004,1762 (X)
  200.    
  201. earle,
  202.    
  203.      Pardon me for dropping into your discussion but I don't understand
  204. something you told Ken Levy re: network transmission speed locking.
  205.    
  206.      If the remote node (your PC to node) goes at v.42/bis, the node to CIS
  207. modem (network) goes at 9600 to CIS, CIS pulls down at 9600 w/no v.42/bis.
  208.    
  209. Okay so far?
  210.    
  211.      My question is; if ds3 and frame relay (whatever those are) increase the
  212. overall speed from your PC to the CIS modem, is CIS *still* going to pull data
  213. off the net at 9600bps w/no v.42 bis?  What good will faster connect speeds do
  214. if CIS stays locked at 9600bps?  There would just be a massive bit-build-up on
  215. the network while CIS takes data at it's old rate (picture funnel).  Seems
  216. like the net would clog up, or whatever nets do when they can't get rid of
  217. data fast enough.
  218.    
  219.      It appears from what I've seen in this thread, CIS needs to get some
  220. v.42/bis modems on it's end of the pipe before anyone starts increasing the
  221. speed of the network --> CIS connection.  Wouldn't CIS also have to upgrade
  222. it's hardware (the computers) to accommodate v.42/bis speeds, and then upgrade
  223. _again_ when the network speed went up again?
  224.    
  225. -Scott
  226.    
  227.    
  228.    
  229.  
  230.  
  231. #: 90921 S7/Modems/Comm Hdw [C]
  232.     15-Jan-92  13:57:29
  233. Sb: #90842-#need v.32/bis tutorial
  234. Fm: earle robinson [ibmeur] 76004,1762
  235. To: Toby Nixon 70271,404 (X)
  236.    
  237. I'm afraid I can't agree with you about 'idem'. If it were 'academic jargon'
  238. the dictionary would point this out.  It doesn't.  It is really better for
  239. most people to expand their vocabulary. Alas, that of most americans is indeed
  240. poor, and getting poorer as fewer people read books anymore.  I learn new
  241. words all the time, and keep at least a couple of dictionaries handy when the
  242. need arises, which is less often than for some, but rarely does a day or week
  243. pass without a dictionary being pulled down from the shelf to look up
  244. something.
  245.    -er
  246.    
  247.  
  248.  
  249. #: 91031 S7/Modems/Comm Hdw [C]
  250.     16-Jan-92  09:32:28
  251. Sb: #90921-need v.32/bis tutorial
  252. Fm: Tom Brandt 70650,1742
  253. To: earle robinson [ibmeur] 76004,1762 (X)
  254.    
  255. Earle,
  256.    
  257. When I saw "idem" I sincerely thought it was some technical term or acronym
  258. not found in a standard dictionary (try looking up V.32bis in your
  259. Merriam-Webster).  I, too, keep a dictionary handy (I have several), but did
  260. not think to look in one since I thought it would be a waste of time.
  261.    
  262. Tom.
  263.  
  264. #: *91218 S7/Modems/Comm Hdw [C]
  265.     17-Jan-92  17:01:31
  266. Sb: #91099-#need v.32/bis tutorial
  267. Fm: earle robinson [ibmeur] 76004,1762
  268. To: Scott Compton 71650,2371 (X)
  269.    
  270. The modems used by CompuServe on the v.32 nodes already support v.42bis.  But
  271. its use is of no use due to the speed being locked to the link one, 9600 bps.
  272. When the v.32 nodes were installed, we were promised that some day the port
  273. speeds would be increased, perhaps in a year.  That year has gone by, and they
  274. are still not opened up.  I have to assume that the upgrading of the network
  275. backbone and of the host computers, too, in order to permit this.  One reason
  276. may be too is that the stampede toward v.32 may have taken CompuServe by
  277. surprise.  I doubt they expected so many to move to it so soon.
  278.    -er
  279.    
  280.  
  281.  
  282. #: 91221 S7/Modems/Comm Hdw [C]
  283.     17-Jan-92  17:16:48
  284. Sb: #91099-need v.32/bis tutorial
  285. Fm: 'Fred' Kirby  [UK] 70734,126
  286. To: Scott Compton 71650,2371 (X)
  287.    
  288. I think you've got the system layout wrong. It is:
  289.    
  290. Compuserve computer - high speed network (including thinks like DS1/3) -
  291. access node with several modems (9600, V.42bis etc.) - telephone line - your
  292. modem - your computer.
  293.    
  294. Speeding up the network will allow more simultaneous users and/or higher
  295. speeds per user - the V.42bis part is at the user end of the network. Speed
  296. locking occurs between the access node PAD and the modems.
  297.    
  298. Fred
  299.  
  300. #: 91359 S7/Modems/Comm Hdw [C]
  301.     18-Jan-92  17:40:34
  302. Sb: #91218-#need v.32/bis tutorial
  303. Fm: Scott Compton 71650,2371
  304. To: earle robinson [ibmeur] 76004,1762 (X)
  305.    
  306. Thanks, earle and 'Fred,'
  307.    
  308.      I understood that the modems CIS uses already support v.42/bis.
  309. The host and the net are the limiting factor, currently, as I
  310. understand it?
  311.    
  312. CIS today:
  313.    
  314. v.32       v.32            v.32 only         v.32         v.32 only
  315. v.42/bis   v.42/bis                          v.42/bis
  316. [me]-------[local node]-----????net?????-----[CIS modem]--[CIS Host]
  317. can't use  won't use     upgrading for       won't use   upgrading
  318. v.42/bis   v.42/bis      faster modulation   v.42/bis    for v.42/bis
  319.    
  320. CIS considering:
  321.    
  322. v.32       v.32            v.32 only         v.32         v.32 only
  323. v.42/bis   v.42/bis                          v.42/bis
  324. [me]-------[local node]-----????net?????-----[CIS modem]--[CIS Host]
  325.                          v.42/bis still not             upgraded for
  326.                          necessary, data                 higher data
  327.                          already compressed.             throughput.
  328.                          Upgrading for even       -->    Must also
  329.                          faster data rate         -->    upgrade again
  330.                          (Frame relay/DS1/3)      -->    to handle the
  331.                                                   -->    data rate
  332.                                                   -->    DS1/3 & Frame
  333.                                                   -->    relay allow.
  334.    
  335. Do I have it right, or am I still totally lost? <G>
  336.    
  337. -Scott   
  338.    
  339.  
  340. #: 91682 S7/Modems/Comm Hdw [C]
  341.     20-Jan-92  12:50:16
  342. Sb: #91221-need v.32/bis tutorial
  343. Fm: Len CONRAD, Paris 71251,462
  344. To: 'Fred' Kirby  [UK] 70734,126
  345.    
  346. So even if CIS has v.32bis/14.4 modems, they've been 'locked' to work at
  347. v.32/9600 max and lower speeds?  Salut,Len.
  348.  
  349. #: 91479 S7/Modems/Comm Hdw [C]
  350.     19-Jan-92  11:33:52
  351. Sb: #91359-#need v.32/bis tutorial
  352. Fm: 'Fred' Kirby  [UK] 70734,126
  353. To: Scott Compton 71650,2371 (X)
  354.    
  355. You'r right except that there are no modems as such to connect the network
  356. into the CIS computers - it will be more of a direct interface - V32 and V42
  357. have no relevance here.
  358.    
  359. The network link may have a capacity of several megabits per second but it
  360. will have to carry a number of calls at once (multiplexed). If it is 1Mbit/sec
  361. and you expect it to carry 100 calls then each call must average somewhat less
  362. than 10Kbits/sec due to network overheads. If you improve the end modems so
  363. that they are individually capable of a greater capacity then the network must
  364. be improved to cope.
  365.    
  366. Generally speaking data compression is a function of the modems. The network
  367. will not pass data compressed unless given it that way by the host (e.g. when
  368. file transferring .ZIP archives). Compression requires fairly capable
  369. processors in modems - at network speeds it would probably require a
  370. super-computer!
  371.    
  372. Fred
  373.    
  374.  
  375.  
  376. #: 91568 S7/Modems/Comm Hdw [C]
  377.     19-Jan-92  19:54:16
  378. Sb: #91359-need v.32/bis tutorial
  379. Fm: earle robinson [ibmeur] 76004,1762
  380. To: Scott Compton 71650,2371 (X)
  381.    
  382. I'm sorry, but I don't understand your message at all.  But, I'll repeat what I
  383. thought I have been trying to say:
  384.    
  385. v.32 with v.42bis       port speeds are locked at 9600 bps, so no advantage
  386.                         to the compression.
  387.    
  388. v.22bis with mnp        port speed locked at 2400 bps.  No compression offered.
  389.    
  390.    -er
  391.  
  392. #: 91569 S7/Modems/Comm Hdw [C]
  393.     19-Jan-92  19:54:26
  394. Sb: #91479-need v.32/bis tutorial
  395. Fm: earle robinson [ibmeur] 76004,1762
  396. To: 'Fred' Kirby  [UK] 70734,126
  397.    
  398. Compression is indeed at the modem, but is only of benefit if the speed
  399. between the dce and dte is higher, and at both ends.  The network backbone if
  400. it has the bandwidth would be able to then support the higher dte/dce speeds. 
  401. Today this is not the case.  Tomorrow?
  402.    
  403. The network does no compression at all, and I know of no plans to do so.  It
  404. certainly isn't defined or used at any of the iso levels, though it wouldn't
  405. be impossible to implement.   -er
  406.  
  407. #: 91720 S7/Modems/Comm Hdw [C]
  408.     20-Jan-92  17:32:56
  409. Sb: #91569-#need v.32/bis tutorial
  410. Fm: 'Fred' Kirby  [UK] 70734,126
  411. To: earle robinson [ibmeur] 76004,1762 (X)
  412.    
  413. Data compression can be of benefit on a noisy line - retransmissions will
  414. effectively reduce the bandwidth but compression can restore it to the full
  415. value. Similarly I've seen my modem fall back to 7200 baud - compression kept
  416. the data throughput at its normal value.
  417.    
  418. I wouldn't expect a high speed network to compress data - the host and user
  419. are in a far better position to determine if the data is worth compressing in
  420. the first place. It makes throughput of the network even harder to predict.
  421.    
  422. Fred
  423.    
  424.  
  425.  
  426. #: 91721 S7/Modems/Comm Hdw [C]
  427.     20-Jan-92  17:33:02
  428. Sb: #91682-need v.32/bis tutorial
  429. Fm: 'Fred' Kirby  [UK] 70734,126
  430. To: Len CONRAD, Paris 71251,462
  431.    
  432. Just about. The modems may or may not be locked to V.32. What definitely is
  433. locked is the speed of the serial line between the modem and the multiplexor.
  434. V.32 just defines the series of pops and whistles the modems use to
  435. communicate with each other - they could connect at V.32bis/14400 but the full
  436. line capacity in that case couldn't be used. It WILL however reduce the
  437. turnaround delays (the data packets take a finite time to send increasing the
  438. line speed will reduce that delay).
  439.    
  440. In real terms this means that a file transfer protocol such as Kermit or
  441. Xmodem might benefit.
  442.    
  443. Fred
  444.  
  445. #: 91742 S7/Modems/Comm Hdw [C]
  446.     20-Jan-92  19:14:58
  447. Sb: #91720-need v.32/bis tutorial
  448. Fm: earle robinson [ibmeur] 76004,1762
  449. To: 'Fred' Kirby  [UK] 70734,126
  450.    
  451. A noisy line means retransmissions, and too many of them will penalize
  452. throughput immensely, and eventually lead to dropping of the line, usually
  453. after 10 successive resends of the same packet.  Compression is no more a
  454. benefit then than it is on a clean line.  For compressible data, it will
  455. increase the effective throughput.  But, whatever happens that modem is only
  456. transmitting 9600 bits per second, and if it must repeat one or more frames,
  457. those still go through at 9600 bits per second.  Remember that a noisy line
  458. for data communications really only means 1 bad bit out of 1000 at most.  Any
  459. more than that and the communication is lost or so crippled to make it seem
  460. so.
  461.    
  462. One thing that people forget is that the modem itself is responsible for
  463. handling the various line problems that may occur, including phase jitter,
  464. amplitude jitter, etc.  If that filtration isn't optimum, no error control
  465. willl compensate for the poor performance of the modem itself.  Except in very
  466. special cases, a clean line for voice calls is quite adequate for data
  467. communications.   -er
  468.  
  469. #: 92049 S7/Modems/Comm Hdw [C]
  470.     22-Jan-92  08:37:32
  471. Sb: #91956-need v.32/bis tutorial
  472. Fm: earle robinson [ibmeur] 76004,1762
  473. To: 'Fred' Kirby  [UK] 70734,126
  474.    
  475. I thought I made my point clear:  Compression will improve effective
  476. throughput on *any* line.  A bad line will reduce throughput due to resends. 
  477. So, you use compression to get higher throughput, assuming the data is
  478. compressible of course, not because the line is bad.  Anyway, if it is bad,
  479. you are likely to lose the connexion, or get such a poor one that you might do
  480. better with federal express or ups.
  481.    
  482. Note that v.32 doesn't fall back to 7200 cps, that is a feature of v.32bis,
  483. but to 4800 cps. My experience, for what it's worth, using phone lines here in
  484. europe and in the states, is that if the line is so mediocre, it is more
  485. likely lost rather than a drop to a lower speed.  I should add, that v.32bis
  486. has one advantage over v.32, too.  It permits stepping back up to a higher
  487. speed after a dropback, in case the line conditions improve.  And, there is no
  488. full retrain required, as with v.32.  I find there is a greater likelihood of
  489. retraining required, which takes several seconds, than a fallback, so v.32bis
  490. is of interest in this regard.   -er
  491.  
  492. #: 92050 S7/Modems/Comm Hdw [C]
  493.     22-Jan-92  08:37:42
  494. Sb: #92024-need v.32/bis tutorial
  495. Fm: earle robinson [ibmeur] 76004,1762
  496. To: Jack Jordan 70743,2663
  497.    
  498. V.42bis has two advantages over mnp 5.  First, it uses a better algorithm, so
  499. can compress data more.  It also does a continual verification of the data to
  500. see if there is redundancy, and if there is none, will not try to compress the
  501. data.   -er
  502.  
  503. #: 92155 S7/Modems/Comm Hdw [C]
  504.     22-Jan-92  21:05:24
  505. Sb: #92024-need v.32/bis tutorial
  506. Fm: 'Fred' Kirby  [UK] 70734,126
  507. To: Jack Jordan 70743,2663
  508.    
  509. I agree - networks don't compress - they try to be as cheap as possible!
  510.    
  511. What do you mean by 'multiple levels of compression'? You can't generally
  512. compress data which has already been compressed - it comes out larger! Typical
  513. compression schemes do use a combination of methods but they have to be
  514. carefully interfaced to work effectively. A lot depends on the type of data
  515. that is being transmitted. If you have a custom compression routine tailored
  516. to 'very compressible' data then you'll do very well. Good compression schemes
  517. may vary from 2:1 to 4:1 for object code or ASCII text. When people talk about
  518. 4:1 compression from V.42bis they are usually using trivial data. The best
  519. archivers aren't that good. I've seen 'average' figures quoted as 2.3:1 for
  520. V.42bis and 1.8:1 for MNP5. Although very wooly this seems to accord with my
  521. experience.
  522.    
  523. What is it you don't understand - the type of compression used or where data
  524. is transferred compressed?
  525.    
  526. Fred
  527.  
  528. #: 92136 S7/Modems/Comm Hdw [C]
  529.     22-Jan-92  19:42:27
  530. Sb: #92049-need v.32/bis tutorial
  531. Fm: 'Fred' Kirby  [UK] 70734,126
  532. To: earle robinson [ibmeur] 76004,1762
  533.    
  534. That's not quite true - the point is that with CIS there is a ceiling on
  535. throughput of 9600 baud so compression on a clean link will produce no benefit
  536. (other than perhaps on turnaround times) but compression on a bad link can be
  537. very beneficial because it can keep the actual data rate up to 9600bps
  538. (assuming compressible data etc.)
  539.    
  540. No doubt you are right about 7200 fallback - I do have a V.32bis modem. The
  541. type of line impairment is very important. 'Bursty' noise will knock out the
  542. odd block but the link will keep going. International calls in particular can
  543. have a high hiss making the dynamic range insufficient for 9600baud but still
  544. adequate for 4800.
  545.    
  546. I find fall forward very useful. Sometimes a connection takes a 10 seconds or
  547. so to settle down. If the mode can't fall forward then it is stuck at the
  548. lower speed for no good reason.
  549.    
  550. Fred
  551.  
  552. #: 92343 S7/Modems/Comm Hdw [C]
  553.     24-Jan-92  00:22:12
  554. Sb: #92050-need v.32/bis tutorial
  555. Fm: Jack Jordan 70743,2663
  556. To: earle robinson [ibmeur] 76004,1762 (X)
  557.    
  558. Earle Thanks for the reply.  I'm fascinated by the processing now resident in
  559. modems.  If I continue to follow these discussions I may learn something yet.
  560.    
  561.                                Thanks  -jrj
  562.  
  563. #: 92156 S7/Modems/Comm Hdw [C]
  564.     22-Jan-92  21:05:28
  565. Sb: #92079-#need v.32/bis tutorial
  566. Fm: 'Fred' Kirby  [UK] 70734,126
  567. To: SysOp Jim McKeown 76702,1102 (X)
  568.    
  569. It needn't make much difference where the data is compressed. If the data is
  570. compressed in the modem then the link between modem and computer needs to be a
  571. higher capacity to carry the uncompressed data but this is not usually a
  572. problem.
  573.    
  574. The computer may have specialised compression for the particular type of data
  575. being transferred. In this case it will be better than the generalised modem
  576. compression. The modem can only see the data as a single 1 pass stream. It
  577. might be that the computer can make a better job at compression by using
  578. several passes. Real compression schemes don't seen to require much of this.
  579.    
  580. Fred
  581.    
  582.  
  583. #: 92220 S7/Modems/Comm Hdw [C]
  584.     23-Jan-92  06:12:48
  585. Sb: #92079-need v.32/bis tutorial
  586. Fm: earle robinson [ibmeur] 76004,1762
  587. To: SysOp Jim McKeown 76702,1102
  588.    
  589. No question that a precompressed file is better, if it feasible to run that
  590. way.  Sometimes, however, for security reasons, or because huge amounts of
  591. data must be transmitted, online compression is a better choice.   -er
  592.  
  593. #: 92344 S7/Modems/Comm Hdw [C]
  594.     24-Jan-92  00:22:27
  595. Sb: #92155-need v.32/bis tutorial
  596. Fm: Jack Jordan 70743,2663
  597. To: 'Fred' Kirby  [UK] 70734,126
  598.    
  599. Fred
  600.    
  601. I'm (relatively) new to PC's and the networking involved.  Thus, all of the
  602. discussions in this forum are new to me.
  603.    
  604. We do use compression on our IBM, Amdahl & HDS mainframes running MVS, but it
  605. is all host based.  As to your reference to trivial data, that is true. We
  606. move large pricing and inventory data.  This is guaranteed not to be designed
  607. to be compact or efficient.
  608.    
  609. The software used is an IBM product called FTP.  It has a native compression
  610. routine.  With our large files, FTP does give reasonable compression. 
  611. However, when we add on another two levels (different algoritims), the
  612. transmission is markedly reduced.  For these data files, the compression can
  613. give us up to four or five fold decrease in xmit times.
  614.    
  615. As far as the discussion here, I am learning that the compression is in the
  616. modem, and that there are negotiated levels of this compression.
  617.    
  618. Keep up your conversations, they are very enlightening to a mainframe bigot
  619. like myself.  Hopefully you don't mind questions from folks like me.
  620.    
  621.                                Regards -jrj
  622.  
  623. #: 92161 S7/Modems/Comm Hdw [C]
  624.     22-Jan-92  21:12:28
  625. Sb: #92156-need v.32/bis tutorial
  626. Fm: SysOp Jim McKeown 76702,1102
  627. To: 'Fred' Kirby  [UK] 70734,126
  628.    
  629. I suppose it *need* not make much difference, Fred, but I just recently saw a
  630. report in one of the mags where there was a very substantial difference in the
  631. effective file size transferred (and hence the speed) between standalone ZIP
  632. then transfer vs using the modem's compression.
  633. jcm
  634.  
  635. #: 92382 S7/Modems/Comm Hdw [C]
  636.     24-Jan-92  05:03:15
  637. Sb: #92272-need v.32/bis tutorial
  638. Fm: earle robinson [ibmeur] 76004,1762
  639. To: 'Fred' Kirby  [UK] 70734,126
  640.    
  641. I can't envisage an on-the-fly compression scheme being more efficient than a
  642. standalone one, where timing isn't at all so important, especially in the
  643. competitive environment of the compression program market.
  644.    
  645. You point about the throughput increase achieved through the stripping of the
  646. start/stop bits is quite true, and often overlooked.
  647.    
  648. Given the system resources required and the better compression achieved by the
  649. best compression programs, use of v.42bis is really limited for most users, to
  650. interactive sessions or when security reasons require sending ascii data.
  651.    -er
  652.  
  653. #: 92455 S7/Modems/Comm Hdw [C]
  654.     24-Jan-92  16:33:19
  655. Sb: #92344-need v.32/bis tutorial
  656. Fm: 'Fred' Kirby  [UK] 70734,126
  657. To: Jack Jordan 70743,2663
  658.    
  659. Compressors work on the principle that a file being sent is likely to exist in
  660. a very small subset of all possible bit patterns. A compressor is trying to
  661. transform the data so that elements of that subset are converted into short
  662. files. Correspondingly other files (hopefully outside the subset) are going to
  663. be transformed to larger files. As an indication of how small this subset is
  664. imagine generating, say, a million files of random binary data and putting
  665. each through your 'best' compressor. It may not be able to reduce the size of
  666. any of them. (The likelihood of this depends on file size).
  667.    
  668. A compressor can map the subset to shorter strings because it maps them to a
  669. greater proportion of the whole bit set. The output of a good compressor will
  670. look almost like random data. This is why putting it through another
  671. compressor is not likely to be very beneficial.
  672.    
  673. In your case are the compression stages designed to complement each other or
  674. do you just plug the output of one program into the input of another?
  675. Certainly you may require several stages to end up with 'good compression'.
  676.    
  677. I wonder how compression algorithms in the mainframe world compare with those
  678. on PCs. PCs seem to have a definite industry with compression - perhaps due to
  679. lower capacities generally available.
  680.    
  681. Fred
  682.  
  683. #: 92454 S7/Modems/Comm Hdw [C]
  684.     24-Jan-92  16:33:12
  685. Sb: #92382-need v.32/bis tutorial
  686. Fm: 'Fred' Kirby  [UK] 70734,126
  687. To: earle robinson [ibmeur] 76004,1762
  688.    
  689. I agree that an on-the-fly compression scheme can't be more efficient than a
  690. good host based one. But I think I can hope to be not far off. An interesting
  691. question is which one needs to be less processor intensive. Even at 38400 baud
  692. the modem one only needs to process under 4000 bytes per second. People now
  693. expect a PC based compressor to squash a 100K file in no time at all. There is
  694. a significant tradeoff to be had between speed and efficiency. Just how fast
  695. are the processors in high speed modems?
  696.    
  697. Modems compression is useful for online systems - V.42bis would be excellent
  698. for forum navigation but library files would be better pre-compressed. Apart
  699. from anything else the compression would only have to be done once!
  700.    
  701. I think we're agreed!
  702.    
  703. Fred
  704.  
  705. #: 92640 S7/Modems/Comm Hdw [C]
  706.     26-Jan-92  00:06:36
  707. Sb: #92455-need v.32/bis tutorial
  708. Fm: Jack Jordan 70743,2663
  709. To: 'Fred' Kirby  [UK] 70734,126 (X)
  710.    
  711. Fred I can't speak to the algorithms of the compressors, but in the case of
  712. our installation the following applies.
  713.    
  714. Stage 1: IBM routine built into the file transfer application (FTP).
  715.    
  716. Stage 2: Routine designed by either GE or Westinghouse (I don't remember
  717. which) in the 70's (REMOT370).
  718.    
  719. Stage 3: Routine designed by a company called ATPCO (Airline Tariff clearing
  720. house) (XMTXOR).
  721.    
  722. The data is typically airline fares/schedules.
  723.    
  724. Your question about the efficiency of mainframe vs PC compression is a good
  725. one.  My feeling is that if it takes us three compressions to get a good file
  726. then none of the algorithms are likely to be great.  It would be interesting
  727. to run a test file through the best of both and check the results.
  728.                                Regards -jrj
  729.  
  730. #: 92694 S7/Modems/Comm Hdw [C]
  731.     26-Jan-92  09:11:56
  732. Sb: #92640-need v.32/bis tutorial
  733. Fm: 'Fred' Kirby  [UK] 70734,126
  734. To: Jack Jordan 70743,2663
  735.    
  736. Maybe there is a suitable text file in the libraries.
  737.    
  738. If you have a PC there you could compare both compression systems directly.
  739.    
  740. Fred
  741.  
  742.